package com.cc.service;

import com.cc.entity.Dormitory;

import java.util.List;

public interface DormitoryService {
    List<Dormitory> selectAllDormitories();

    Dormitory selectDormitoryById(Long id);

    boolean insertDormitory(Dormitory dormitory);

    boolean updateDormitory(Dormitory dormitory,Long id);

    boolean deleteDormitory(Long id);
}
